//=============================================================================
#ifndef __CAPPSTATESERVER_H__
	#define __CAPPSTATESERVER_H__

#include "AppState.h"
#include "SDL_ttf.h"
#include "Entity.h"
#include "Surface.h"
#include "Player.h"

//=============================================================================
class CAppStateServer : public CAppState {
	private:
		enum Server
		{
			SERVER_MENU = 0,
			SERVER_HOST
		};
		int state;
		static CAppStateServer Instance;
		TTF_Font* font;
private:
		CAppStateServer();
		
		SDL_Surface* serverBG;
	public:
		void OnKeyDown(SDLKey sym, SDLMod mod, Uint16 unicode);
		void OnKeyUp(SDLKey sym, SDLMod mod, Uint16 unicode);
		void OnMouseMove(int mX, int mY, int relX, int relY, bool Left,bool Right,bool Middle);


	public:
		void OnActivate();

		void OnDeactivate();

		void OnLoop();

		void OnRender(SDL_Surface* Surf_Display);

	public:
		static CAppStateServer* GetInstance();
};

//=============================================================================

#endif
